package com.yunnuo.system.role.entity;

import com.yunnuo.system.comm.entity.IdEntity;

import javax.persistence.Entity;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * 角色菜单表
 * Created by 魏洪福(15064000912@163.com) on  2018/5/25.
 */
@Entity
@Table(name = "SYS_ROLE_MENU")
public class RoleMenu extends IdEntity {

    // 角色ID
    private String roleId;
   // 菜单ID
    private String menuId;


    public String getRoleId() {
        return roleId;
    }

    public void setRoleId(String roleId) {
        this.roleId = roleId;
    }

    public String getMenuId() {
        return menuId;
    }

    public void setMenuId(String menuId) {
        this.menuId = menuId;
    }

    @Override
    public String toString() {
        return "RoleMenu{" +
                "roleId='" + roleId +
                ", menuId='" + menuId +
                '}';
    }
}
